<!--
  ~ Copyright (c) 2017, Hugo Freire <hugo@exec.sh>.
  ~
  ~ This source code is licensed under the license found in the
  ~ LICENSE.md file in the root directory of this source tree.
  -->

<md-card id="settings">
    <md-card-title>Settings</md-card-title>
    <md-card-content>
        <md-checkbox [checked]="settings.isOverride" (change)="onChangeOverride($event)" color="primary">Override
        </md-checkbox>
        <div>
            <div>Like threshold</div>
            <md-slider
                    disabled="{{ !settings.isOverride }}"
                    [max]="100"
                    [min]="0"
                    [step]="step"
                    [thumb-label]="true"
                    [value]="settings.likePhotosThreshold"
                    [vertical]="false"
                    (change)="onChangeLikePhotosThreshold($event)"
                    color="primary">
            </md-slider>
        </div>
    </md-card-content>
</md-card>
